package com.guli.mall.wms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.session.config.annotation.web.http.EnableSpringHttpSession;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/*
 * @Author 罗
 * @date 2020/9/29 - 10:30 下午
 */
@EnableAspectJAutoProxy(exposeProxy = true,proxyTargetClass = true)
@EnableRabbit
@EnableRedisHttpSession
@MapperScan("com.guli.mall.wms.mapper")
@SpringBootApplication
@EnableFeignClients(basePackages = "com.guli.mall.wms.feign")
public class WareServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(WareServiceApp.class,args);
    }
}
